package jzc.mzxy.datebinding;

import jzc.mzxy.datebinding.moder.BannerModer;
import jzc.mzxy.datebinding.moder.Login_Moder;
import retrofit2.Call;
import retrofit2.http.Headers;
import retrofit2.http.POST;
import retrofit2.http.Query;

public interface Apis {


    @Headers("Content-Type:application/x-www-form-urlencoded")
    @POST("banner")
    Call<BannerModer> getBanner();

    @Headers("Content-Type:application/x-www-form-urlencoded")
    @POST("login")
    Call<Login_Moder> getLogin(@Query("username")String u,@Query("password")String p);
}
